//
//  FileOperation.h
//  PrivateCloud
//
//  Created by Visitor on 10/13/13.
//  Copyright (c) 2013 sarah doo. All rights reserved.
//

#import <Foundation/Foundation.h>
#include <AssetsLibrary/AssetsLibrary.h>
@interface FileOperation : NSObject
 //查找所有文件
- (NSArray *)searchAllFiles;
// 创建文件夹
- (void)createDirectory;

- (void)deleteFileById:(int)uid;

- (NSArray *)searchAllFiles:(void (^)(void))completion;

+ (BOOL)writeImage:(ALAsset*)asset toFileAtPath:(NSString*)aPath;
@end
